
$(document).ready(function(){
						   
	$(window).load(function(){
    	$('.doc-loader').fadeOut('slow');
	});
		   
	$('.body_wrapper').bgStretcher({
		images: ['../assets/images/land-images/madabintal.jpg', '../assets/images/land-images/Madabintal02.jpg', '../assets/images/land-images/madabintal2.jpg'],
		imageWidth: 1680, 
		imageHeight: 1260, 
		slideDirection: 'N',
		slideShowSpeed: 1000,
		transitionEffect: 'fade',
		sequenceMode: 'normal',
		buttonPrev: '#prev',
		buttonNext: '#next',
		pagination: '#nav',
		anchoring: 'left center',
		anchoringImg: 'left center'
	});
	
	initialize();
	setHints();
	height_bottom();
	updatestrings();	
});

$(window).resize(function() {
	height_bottom();
	updatestrings();
	$('#subscriberEmail').blur();
});

var strings = {
   'shortsubscribe': 'Enter your email to sign up',
   'longsubscribe': 'Subscribe with your email address to get notified'  
};

var setHints = function()
{
    $('#subscriberEmail').attachHint('Subscribe with your email address to get notified');
};